package org.feng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import org.feng.base.entity.BaseEntity;

import java.io.Serializable;

/**
 * <p>
 * 自动生成代码
 * </p>
 *
 * @author feng
 * @since 2020-12-10
 */
@Data
@TableName("sys_generate")
public class Generate extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableField("datasource_id")
    private String datasourceId;

    @TableField("table_prefix")
    private String tablePrefix;

    @TableField("table_name")
    private String tableName;

    @TableField("java_file")
    private String javaFile;

    @TableField("parent_path")
    private String parentPath;

    @TableField("module")
    private String module;

    @TableField("is_parent")
    private Integer isParent;
}
